#ifndef SERVERPACKETLISTENER_H
#define SERVERPACKETLISTENER_H

#include "externals/includes/osc/OscPacketListener.h"

class OSCthulhuServer;
#include "OSCthulhuServer.h"

class ServerPacketListener : public osc::OscPacketListener
{
public:
    ServerPacketListener(OSCthulhuServer* server);
protected:
    virtual void ProcessMessage( const osc::ReceivedMessage& m,
                                const IpEndpointName& remoteEndpoint );
private:
    int serverPort;
    OSCthulhuServer* server;
};

#endif // SERVERPACKETLISTENER_H
